precision mediump float;

attribute vec3 a_position;
attribute vec3 a_offsetPos;

uniform mat4 projMatrix;
uniform mat4 mvMatrix;

void main() {
    vec4 posInView = mvMatrix * vec4(a_position + a_offsetPos, 1.0);
    gl_Position = projMatrix * posInView;
}
